<template>
	<view class="item-desc-box">

		<view class="title">{{desc.title}}</view>
		<view></view>
		<text class="desc">{{desc.desc}}</text>
		<view></view>
		<image class="img" :src="desc.img" mode="widthFix"></image>

		<view class="line"></view>
	</view>
</template>

<script>
	export default {
		name: "item-desc",
		data() {
			return {

			};
		},
		props: ["desc"]
	}
</script>

<style lang="scss" scoped>
	
	.item-desc-box {
		display: flex;
		align-items: center;
		flex-direction: column;
		width: 100%;
		padding: 40rpx;
		box-sizing: border-box;

		.title {
			width: 100%;
			text-align: center;
			font-size: 50rpx;
			color: #00aa00;
		}

		.desc {
			text-align: left;
			margin-top: 16rpx;
			margin-bottom: 16rpx;
			font-weight: 600;
		}
		
		.img{
			width: 100%;
		}
		
		.line{
			width: 100%;
			margin-top: 100rpx;
			border-bottom: 1.5px dashed #cccccc;
		}
	}
</style>
